package com.pnnd.stream;

import java.io.IOException;
import java.io.Reader;

public abstract class DTypeReader extends Reader {

    private long offset;
    private AbstractBuffer buffer;

    public abstract Object readDType();
    public abstract byte[] readDTypeBytes();

    @Override
    public int read(char[] cbuf, int off, int len) throws IOException {
        return 0;
    }

    @Override
    public void close() throws IOException {

    }

    public long getOffset() {
        return offset;
    }

    public AbstractBuffer getBuffer() {
        return buffer;
    }
}
